#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n,a,b,c;
	cin>>n;
	a=n/100;
	b=n%100/10;
	c=n%10;
	printf("result=%d+%d+%d=%d",a,b,c,a+b+c); 
    return 0;
}
